class BootStrap {

     def init = { servletContext ->

        //Tabs (configuration for multiple users)
         Tab tp,tc,te,ta,ts,tb;
         if(!Tab.findByName("Project")){
            tp = new Tab(name:"Project");
            tp.save();
         }
         else{
             tp = Tab.findByName("Project");
         }
         if(!Tab.findByName("boardName")){
             tb = new Tab(name:"boardName");
             tb.save();
         }
         else{
             tb = Tab.findByName("boardName");
         }
         if(!Tab.findByName("Course")){
             tc = new Tab(name:"Course");
             tc.save();
         }
         else{
             tc = Tab.findByName("Course");
         }
         if(!Tab.findByName("Employee")){
             te = new Tab(name:"Employee");
             te.save();
         }
         else{
             te = Tab.findByName("Employee");
         }
         if(!Tab.findByName("Admin")){
            ta = new Tab(name:"Admin");
            ta.save();
         }
         else{
             ta = Tab.findByName("Admin");
         }
         if(!Tab.findByName("Schedule")){
            ts = new Tab(name:"Schedule");
            ts.save();
         }
         else{
             ts = Tab.findByName("Schedule");
         }

         if(!Type.findByType("Lab")){
             new Type(type:"Lab").save()
         }
         if(!Type.findByType("Study Area")){
             new Type(type:"Study Area").save()
         }
         if(!Role.findByLevel("0")){
             new Role(level:0, description:"Developer").save()
         }
         if(!Role.findByLevel("1")){
             new Role(level:1, description:"Administrator").save()
         }
         if(!Role.findByLevel("2")){
             new Role(level:2, description:"Lab Leader").save()
         }
         if(!Role.findByLevel("3")){
             new Role(level:3, description:"Director Of Study").save()
         }


         if(!DevAccess.findByUserName("Megasoft")){
             def r = Role.findByLevel("0")
             new DevAccess(role:r, userName:"Megasoft", password:"pumi20").save()
         }

        /*
          *Creating an area for developing
          */

         //Container
        if(!Container.findByName("Testing Area for Developing")){
            Container c = new Container(
                name:"Testing Area for Developing",
                budgetLocked:false,
                picture:"merp_logo_small.png",
                link:"http://www.hetmedia.se/megasoft/"
            );
            c.addToTabs(tp); // project tab
            c.addToTabs(tc); // course tab
            c.addToTabs(te); // Emp tab
            c.addToTabs(ta); // Admin tab
            c.addToTabs(ts); //Schedule tab
            c.save();
        }
        if(!Area.findByAreaId("Dev Study Area Test")){
            Type t = Type.findByType("Study Area");
            Container c = Container.findByName("Testing Area for Developing");
            Area a = new Area(
                areaId:"Dev Study Area Test",
                name:"Developing Test Study Area",
                container:c,
                type:t
            );
            a.addToTabs(tc) // course tab
            a.addToTabs(te) // employee tab
            a.addToTabs(ts) //Schedule tab

            a.save(validate:false)
        }
        if(!Area.findByAreaId("Dev Lab Test")){
            Container c = Container.findByName("Testing Area for Developing");
            Type t = Type.findByType("Lab");
            Area a = new Area(
                areaId:"Dev Lab Test",
                name:"Developing Test Lab",
                container:c,
                type:t
            );
            a.addToTabs(te)
            a.addToTabs(tp)
            a.save(validate:false)
        }

        //Create a employee that should be administrator for Testing Area for Developing
        if(!Employee.findByEmployeeId("15411")){
            Area al = Area.findByAreaId("Dev Lab Test")
            new Employee(
                firstName:"Dev",
                lastName:"Adm",
                employeeId:15411,
                city:"Linköping",
                dob:new Date(),
                title:"Developer Adm",
                street:"Någonstans 2",
                email:"test@test.test",
                hiredBy:al,
                zipCode:54254,salary:10000,
                percentageWork:0.0,
                phoneNumber:0704000000,
                mode:0,
                isApplicant:false
            ).save(validate:false)
        }

        //Create a employee that should be lab leader for Dev Lab Test
        if(!Employee.findByEmployeeId("15412")){
            Area al = Area.findByAreaId("Dev Lab Test")
            new Employee(
                firstName:"Dev",
                lastName:"Lab",
                employeeId:15412,
                city:"Linköping",
                dob:new Date(),
                title:"Developer Lab Leader",
                street:"Någonstans 2",
                email:"test@test.test",
                hiredBy:al,
                zipCode:54254,salary:10000,
                percentageWork:0.0,
                phoneNumber:0704000000,
                mode:0,
                isApplicant:false
            ).save(validate:false);
        }

        //Create a employee that should be Director Of Study for Dev Study Area Test
        if(!Employee.findByEmployeeId("15413")){
            Area asa = Area.findByAreaId("Dev Study Area Test")
            new Employee(
                firstName:"Dev",
                lastName:"Dir",
                employeeId:15413,
                city:"Linköping",
                dob:new Date(),
                title:"Developer Director",
                street:"Någonstans 2",
                email:"test@test.test",
                hiredBy:asa,
                zipCode:54254,salary:10000,
                percentageWork:0.0,
                phoneNumber:0704000000,
                mode:0,
                isApplicant:false
            ).save(validate:false)
        }
        if(!Access.findByUserName("dev.adm")){
            Employee e = Employee.findByEmployeeId("15411")
            Role r = Role.findByLevel("1");
            Container c = Container.findByName("Testing Area for Developing");
            Area al = Area.findByAreaId("Dev Lab Test")
            new Access(emp:e,container:c,role:r,area:al,userName:"dev.adm",password:"megasoft").save(validate:false);
        }

        

        //Create a lab leader for Dev Lab Test
        if(!Access.findByUserName("dev.lab")){
            Employee e = Employee.findByEmployeeId("15412")
            Role r = Role.findByLevel("2");
            Container c = Container.findByName("Testing Area for Developing");
            Area al = Area.findByAreaId("Dev Lab Test")
            new Access(emp:e,container:c,area:al,role:r,userName:"dev.lab",password:"megasoft").save(validate:false);
        }

         //Create a Director Of Study for Dev Lab Test
        if(!Access.findByUserName("dev.dir")){
            Employee e = Employee.findByEmployeeId("15413")
            Role r = Role.findByLevel("3");
            Container c = Container.findByName("Testing Area for Developing");
            Area asa = Area.findByAreaId("Dev Study Area Test")
            new Access(emp:e,container:c,area:asa,role:r,userName:"dev.dir",password:"megasoft").save(validate:false);
        }
        if(!Employee.findByEmployeeId("121")){
            Area al = Area.findByAreaId("Dev Lab Test")
            new Employee(
                firstName:"Slave",
                lastName:"One",
                employeeId:121,
                city:"Linköping",
                dob:new Date(),
                title:"Worker",
                street:"Någonstans 2",
                email:"test@test.test",
                hiredBy:al,
                zipCode:54254,salary:10000,
                percentageWork:0.0,
                phoneNumber:0704000000,
                mode:0,
                isApplicant:false
                ).save(validate:false);
        }
        if(!Employee.findByEmployeeId("122")){
            Area al = Area.findByAreaId("Dev Lab Test")
            new Employee(
                firstName:"Slave",
                lastName:"Two",
                employeeId:122,
                city:"Linköping",
                dob:new Date(),
                title:"Worker",
                street:"Någonstans 2",
                email:"test@test.test",
                hiredBy:al,
                zipCode:54254,salary:10000,
                percentageWork:0.0,
                phoneNumber:0704000000,
                mode:0,
                isApplicant:false
            ).save(validate:false);
        }
        if(!Employee.findByEmployeeId("123")){
            Area al = Area.findByAreaId("Dev Lab Test")
            new Employee(
                firstName:"Slave",
                lastName:"Three",
                employeeId:123,
                city:"Linköping",
                dob:new Date(),
                title:"Worker",
                street:"Någonstans 2",
                email:"test@test.test",
                hiredBy:al,
                zipCode:54254,salary:10000,
                percentageWork:0.0,
                phoneNumber:0704000000,
                mode:0,
                isApplicant:false
            ).save(validate:false);
        }
        if(!Employee.findByEmployeeId("124")){
            Area asa = Area.findByAreaId("Dev Study Area Test")
            new Employee(
                firstName:"Slave",
                lastName:"Four",
                employeeId:124,
                city:"Linköping",
                dob:new Date(),
                title:"Worker",
                street:"Någonstans 2",
                email:"test@test.test",
                hiredBy:asa,
                zipCode:54254,salary:10000,
                percentageWork:0.0,
                phoneNumber:0704000000,
                mode:0,
                isApplicant:false
            ).save(validate:false);
        }
        if(!Employee.findByEmployeeId("125")){
            Area asa = Area.findByAreaId("Dev Study Area Test")
            new Employee(
                firstName:"Slave",
                lastName:"Five",
                employeeId:125,
                city:"Linköping",
                dob:new Date(),
                title:"Worker",
                street:"Någonstans 2",
                email:"test@test.test",
                hiredBy:asa,
                zipCode:54254,salary:10000,
                percentageWork:0.0,
                phoneNumber:0704000000,
                mode:0,
                isApplicant:false
            ).save(validate:false);
        }
        
        /*
          *Creating an area for selenium testing
          */

         //Container
        if(!Container.findByName("Testing Area for Selenium")){
            Container c = new Container(
                name:"Testing Area for Selenium",
                budgetLocked:false,
                picture:"merp_logo_small.png",
                link:"http://www.hetmedia.se/megasoft/"
            );
            c.addToTabs(tp); // project tab
            c.addToTabs(tc); // course tab
            c.addToTabs(te); // Emp tab
            c.addToTabs(ts);
            c.addToTabs(ta);
            c.save();
        }
        if(!Area.findByAreaId("Selenium Study Area")){
            Type t = Type.findByType("Study Area");
            Container c = Container.findByName("Testing Area for Selenium");
            Area a = new Area(
                areaId:"Selenium Study Area",
                name:"Selenium Study Area",
                container:c,
                type:t
            );
            a.addToTabs(tc)
            a.addToTabs(te)
            a.addToTabs(ts)
            a.save(validate:false)
        }
        if(!Area.findByAreaId("Selenium Lab Test")){
            Container c = Container.findByName("Testing Area for Selenium");
            Type t = Type.findByType("Lab");
            Area a = new Area(
                areaId:"Selenium Lab Test",
                name:"Selenium Lab Test",
                container:c,
                type:t
            );
            a.addToTabs(tp)
            a.addToTabs(te)
            a.save(validate:false)
        }

        //Create a employee that should be administrator for Testing Area for Developing
        if(!Employee.findByEmployeeId("1000025411")){
            Area al = Area.findByAreaId("Selenium Lab Test")
            new Employee(
                firstName:"Selenium",
                lastName:"Administrator",
                employeeId:1000025411,
                city:"Linköping",
                dob:new Date(),
                title:"Selenium Adm",
                street:"Någonstans 2",
                email:"test@test.test",
                hiredBy:al,
                zipCode:54254,salary:10000,
                percentageWork:100.0,
                phoneNumber:0704000000,
                mode:0,
                isApplicant:false
            ).save(validate:false)
        }

        //Create a employee that should be lab leader for Dev Lab Test
        if(!Employee.findByEmployeeId("1000025412")){
            Area al = Area.findByAreaId("Selenium Lab Test")
            new Employee(
                firstName:"Selenium",
                lastName:"Lab",
                employeeId:1000025412,
                city:"Linköping",
                dob:new Date(),
                title:"Selenium Lab Leader",
                street:"Någonstans 2",
                email:"test@test.test",
                hiredBy:al,
                zipCode:54254,salary:10000,
                percentageWork:100.0,
                phoneNumber:0704000000,
                mode:0,
                isApplicant:false
            ).save(validate:false);
        }

        //Create a employee that should be Director Of Study for Dev Study Area Test
        if(!Employee.findByEmployeeId("1000025413")){
            Area asa = Area.findByAreaId("Selenium Study Area")
            new Employee(
                firstName:"Selenium",
                lastName:"Dir",
                employeeId:1000025413,
                city:"Linköping",
                dob:new Date(),
                title:"Selenium Director",
                street:"Någonstans 2",
                email:"test@test.test",
                hiredBy:asa,
                zipCode:54254,salary:10000,
                percentageWork:100.0,
                phoneNumber:0704000000,
                mode:0,
                isApplicant:false
            ).save(validate:false)
        }
        if(!Access.findByUserName("sel.adm")){
            Employee e = Employee.findByEmployeeId("1000025411")
            Role r = Role.findByLevel("1");
            Container c = Container.findByName("Testing Area for Selenium");
            Area al = Area.findByAreaId("Selenium Lab Test")
            new Access(emp:e,container:c,role:r,area:al,userName:"sel.adm",password:"selenium").save(validate:false);
            }


        

        //Create a lab leader for Dev Lab Test
        if(!Access.findByUserName("sel.lab")){
            Employee e = Employee.findByEmployeeId("1000025412")
            Role r = Role.findByLevel("2");
            Container c = Container.findByName("Testing Area for Selenium");
            Area al = Area.findByAreaId("Selenium Lab Test")
            new Access(emp:e,container:c,area:al,role:r,userName:"sel.lab",password:"selenium").save(validate:false);
        }

         //Create a Director Of Study for Dev Lab Test
        if(!Access.findByUserName("sel.dir")){
            Employee e = Employee.findByEmployeeId("1000025413")
            Role r = Role.findByLevel("3");
            Container c = Container.findByName("Testing Area for Selenium");
            Area asa = Area.findByAreaId("Selenium Study Area")
            new Access(emp:e,container:c,area:asa,role:r,userName:"sel.dir",password:"selenium").save(validate:false);
        }
        if(!Employee.findByEmployeeId("1000002121")){
            Area al = Area.findByAreaId("Selenium Lab Test")
            new Employee(
                firstName:"Slave",
                lastName:"One",
                employeeId:1000002121,
                city:"Linköping",
                dob:new Date(),
                title:"Worker",
                street:"Någonstans 2",
                email:"test@test.test",
                hiredBy:al,
                zipCode:54254,salary:10000,
                percentageWork:100.0,
                phoneNumber:0704000000,
                mode:0,
                isApplicant:false
                ).save(validate:false);
        }
        if(!Employee.findByEmployeeId("1000002122")){
            Area al = Area.findByAreaId("Selenium Lab Test")
            new Employee(
                firstName:"Slave",
                lastName:"Two",
                employeeId:1000002122,
                city:"Linköping",
                dob:new Date(),
                title:"Worker",
                street:"Någonstans 2",
                email:"test@test.test",
                hiredBy:al,
                zipCode:54254,salary:10000,
                percentageWork:100.0,
                phoneNumber:0704000000,
                mode:0,
                isApplicant:false
            ).save(validate:false);
        }
        if(!Employee.findByEmployeeId("1000002123")){
            Area al = Area.findByAreaId("Selenium Lab Test")
            new Employee(
                firstName:"Slave",
                lastName:"Three",
                employeeId:1000002123,
                city:"Linköping",
                dob:new Date(),
                title:"Worker",
                street:"Någonstans 2",
                email:"test@test.test",
                hiredBy:al,
                zipCode:54254,salary:10000,
                percentageWork:100.0,
                phoneNumber:0704000000,
                mode:0,
                isApplicant:false
            ).save(validate:false);
        }
        if(!Employee.findByEmployeeId("1000002124")){
            Area asa = Area.findByAreaId("Selenium Study Area")
            new Employee(
                firstName:"Slave",
                lastName:"Four",
                employeeId:1000002124,
                city:"Linköping",
                dob:new Date(),
                title:"Worker",
                street:"Någonstans 2",
                email:"test@test.test",
                hiredBy:asa,
                zipCode:54254,salary:10000,
                percentageWork:100.0,
                phoneNumber:0704000000,
                mode:0,
                isApplicant:false
            ).save(validate:false);
        }
        if(!Employee.findByEmployeeId("1000002125")){
            Area asa = Area.findByAreaId("Selenium Study Area")
            new Employee(
                firstName:"Slave",
                lastName:"Five",
                employeeId:1000002125,
                city:"Linköping",
                dob:new Date(),
                title:"Worker",
                street:"Någonstans 2",
                email:"test@test.test",
                hiredBy:asa,
                zipCode:54254,salary:10000,
                percentageWork:100.0,
                phoneNumber:0704000000,
                mode:0,
                isApplicant:false
            ).save(validate:false);
        }
        /* Creation of the default access for CUL customer */
        if(!Access.findByUserName("CUL")){
            //Container
            if(!Container.findByName("CUL")){
                Container c = new Container(
                    name:"CUL",
                    budgetLocked:false,
                    picture:"merp_logo_small.png",
                    link:"http://www.hetmedia.se/megasoft/"
                );
                c.addToTabs(tc); // course tab
                c.addToTabs(te); // Emp tab
                c.save();
            }
            Container c = Container.findByName("CUL");
            Type t = Type.findByType("Study Area");
            Area culArea = Area.findByAreaId("Cul Area");
            if(!culArea){
                culArea = new Area(
                    areaId:"Area_1",
                    name:"Cul Area",
                    container:c,
                    type:t
                )
                culArea.save(validate:false)
            }

            Role r = Role.findByLevel("1");
            Employee e = new Employee(
                    firstName:"Cul Administrator",
                    lastName:"Cul",
                    employeeId:666,
                    city:"Linköping",
                    dob:new Date(),
                    title:"CUL administrator",
                    street:"gatan",
                    email:"test@test.test",
                    hiredBy:culArea,
                    zipCode:54254,salary:10000,
                    percentageWork:0.0,
                    phoneNumber:0704000000,
                    mode:0,
                    isApplicant:false
            );
            e.save(validate:false);
            new Access(emp:e,container:c,role:r,userName:"cul",password:"cul").save(validate:false);
        }
        //Administration
        if(!Language.findByMsgID("User Name")){
            new Language(msgID:"User Name",msg:"User Name", language:"en").save()
            new Language(msgID:"User Name",msg:"Användarnamn", language:"sv").save()
        }
        if(!Language.findByMsgID("Password")){
            new Language(msgID:"Password",msg:"Password", language:"en").save()
            new Language(msgID:"Password",msg:"Lösenord", language:"sv").save()
        }
        if(!Language.findByMsgID("Container")){
            new Language(msgID:"Container",msg:"Container", language:"en").save()
            new Language(msgID:"Container",msg:"Mapp", language:"sv").save()
        }
        if(!Language.findByMsgID("Area Id")){
            new Language(msgID:"Area Id",msg:"Area Id", language:"en").save()
            new Language(msgID:"Area Id",msg:"OmrådesId", language:"sv").save()
        }
        if(!Language.findByMsgID("Type")){
            new Language(msgID:"Type",msg:"Type", language:"en").save()
            new Language(msgID:"Type",msg:"Typ", language:"sv").save()
        }
        if(!Language.findByMsgID("Edit Access")){
            new Language(msgID:"Edit Access",msg:"Edit Access", language:"en").save()
            new Language(msgID:"Edit Access",msg:"Redigera åtkomst", language:"sv").save()
        }
        if(!Language.findByMsgID("Show Access")){
            new Language(msgID:"Show Access",msg:"Show Access", language:"en").save()
            new Language(msgID:"Show Access",msg:"Visa åtkomst", language:"sv").save()
        }
        if(!Language.findByMsgID("Access List")){
            new Language(msgID:"Access List",msg:"Access List", language:"en").save()
            new Language(msgID:"Access List",msg:"Åtkomst", language:"sv").save()
        }
        if(!Language.findByMsgID("Area List")){
            new Language(msgID:"Area List",msg:"Area List", language:"en").save()
            new Language(msgID:"Area List",msg:"Områden", language:"sv").save()
        }
        //employee list
        if(!Language.findByMsgID("aTestText1")){
            new Language(msgID:"aTestText1",msg:"aTestText1", language:"en").save()
            new Language(msgID:"aTestText1",msg:"aTest", language:"sv").save()
        }
        if(!Language.findByMsgID("New Employee")){
            new Language(msgID:"New Employee",msg:"New employee", language:"en").save()
            new Language(msgID:"New Employee",msg:"Ny anställd", language:"sv").save()
        }
        if(!Language.findByMsgID("Employee List")){
            new Language(msgID:"Employee List",msg:"Employee list", language:"en").save()
            new Language(msgID:"Employee List",msg:"Lista av anställda", language:"sv").save()
        }
        if(!Language.findByMsgID("Name")){
            new Language(msgID:"Name",msg:"Name", language:"en").save()
            new Language(msgID:"Name",msg:"Namn", language:"sv").save()
        }
        if(!Language.findByMsgID("Title")){
            new Language(msgID:"Title",msg:"Title", language:"en").save()
            new Language(msgID:"Title",msg:"Titel", language:"sv").save()
        }
        if(!Language.findByMsgID("Monthly Salary")){
            new Language(msgID:"Monthly Salary",msg:"Monthly salary", language:"en").save()
            new Language(msgID:"Monthly Salary",msg:"Månadslön", language:"sv").save()
        }
        if(!Language.findByMsgID("Working")){
            new Language(msgID:"Working",msg:"Working", language:"en").save()
            new Language(msgID:"Working",msg:"Arbetar", language:"sv").save()
        }
        if(!Language.findByMsgID("Update")){
            new Language(msgID:"Update",msg:"Update", language:"en").save()
            new Language(msgID:"Update",msg:"Uppdatera", language:"sv").save()
        }
        /*
         *search*/

        if(!Language.findByMsgID("Searchtext")){
            new Language(msgID:"Searchtext",msg:"Here you can search for projects and courses at your Department. Please select what search criteria you want to use.", language:"en").save()
            new Language(msgID:"Searchtext",msg:"Här kan du söka projekt och kurser på din avdelning. Välj vilket kritere du vill söka på.", language:"sv").save()
        }
        if(!Language.findByMsgID("Search")){
            new Language(msgID:"Search",msg:"Search", language:"en").save()
            new Language(msgID:"Search",msg:"Sök", language:"sv").save()
        }
        if(!Language.findByMsgID("Search Criteria")){
            new Language(msgID:"Search Criteria",msg:"Search Criteria", language:"en").save()
            new Language(msgID:"Search Criteria",msg:"Sökkriterie", language:"sv").save()
        }
        if(!Language.findByMsgID("Course area")){
            new Language(msgID:"Course area",msg:"Course area", language:"en").save()
            new Language(msgID:"Course area",msg:"Kursområde", language:"sv").save()
        }
        if(!Language.findByMsgID("Project or Course Name")){
            new Language(msgID:"Project or Course Name",msg:"Project or Course Name", language:"en").save()
            new Language(msgID:"Project or Course Name",msg:"Projekt- eller kursnamn", language:"sv").save()
        }
        if(!Language.findByMsgID("Project or Course Id")){
            new Language(msgID:"Project or Course Id",msg:"Project or Course Id", language:"en").save()
            new Language(msgID:"Project or Course Id",msg:"Projekt- eller kursId", language:"sv").save()
        }

        /*
         *employee create*
         */
        if(!Language.findByMsgID("Create Employee")){
            new Language(msgID:"Create Employee",msg:"Create Employee", language:"en").save()
            new Language(msgID:"Create Employee",msg:"Skapa anställd", language:"sv").save()
        }
        if(!Language.findByMsgID("Employee Id:")){
            new Language(msgID:"Employee Id:",msg:"Employee Id:", language:"en").save()
            new Language(msgID:"Employee Id:",msg:"Anställd Id:", language:"sv").save()
        }
        if(!Language.findByMsgID("First Name:")){
            new Language(msgID:"First Name:",msg:"First name:", language:"en").save()
            new Language(msgID:"First Name:",msg:"Förnamn:", language:"sv").save()
        }
        if(!Language.findByMsgID("Last Name:")){
            new Language(msgID:"Last Name:",msg:"Last name:", language:"en").save()
            new Language(msgID:"Last Name:",msg:"Efternamn:", language:"sv").save()
        }
        if(!Language.findByMsgID("First Name")){
            new Language(msgID:"First Name",msg:"First name", language:"en").save()
            new Language(msgID:"First Name",msg:"Förnamn", language:"sv").save()
        }
        if(!Language.findByMsgID("Last Name")){
            new Language(msgID:"Last Name",msg:"Last name", language:"en").save()
            new Language(msgID:"Last Name",msg:"Efternamn", language:"sv").save()
        }
        if(!Language.findByMsgID("Street:")){
            new Language(msgID:"Street:",msg:"Street:", language:"en").save()
            new Language(msgID:"Street:",msg:"Gata:", language:"sv").save()
        }
        if(!Language.findByMsgID("City:")){
            new Language(msgID:"City:",msg:"City:", language:"en").save()
            new Language(msgID:"City:",msg:"Stad:", language:"sv").save()
        }

        if(!Language.findByMsgID("Zip Code:")){
            new Language(msgID:"Zip Code:",msg:"Zip code:", language:"en").save()
            new Language(msgID:"Zip Code:",msg:"Postnummer:", language:"sv").save()
        }
        if(!Language.findByMsgID("Dob:")){
            new Language(msgID:"Dob:",msg:"Dob:", language:"en").save()
            new Language(msgID:"Dob:",msg:"Födelsedatum:", language:"sv").save()
        }
        if(!Language.findByMsgID("Email:")){
            new Language(msgID:"Email:",msg:"Email:", language:"en").save()
            new Language(msgID:"Email:",msg:"Email:", language:"sv").save()
        }
        if(!Language.findByMsgID("Hired By:")){
            new Language(msgID:"Hired By:",msg:"Hired by:", language:"en").save()
            new Language(msgID:"Hired By:",msg:"Anställd av:", language:"sv").save()
        }
        if(!Language.findByMsgID("Title:")){
            new Language(msgID:"Title:",msg:"Title:", language:"en").save()
            new Language(msgID:"Title:",msg:"Titel:", language:"sv").save()
        }
        if(!Language.findByMsgID("Salary:")){
            new Language(msgID:"Salary:",msg:"Salary:", language:"en").save()
            new Language(msgID:"Salary:",msg:"Lön:", language:"sv").save()
        }
        if(!Language.findByMsgID("salary")){
            new Language(msgID:"salary",msg:"salary", language:"en").save()
            new Language(msgID:"salary",msg:"lön", language:"sv").save()
        }
        if(!Language.findByMsgID("Percentage Work:")){
            new Language(msgID:"Percentage Work:",msg:"Percentage work:", language:"en").save()
            new Language(msgID:"Percentage Work:",msg:"Procent arbete:", language:"sv").save()
        }
        if(!Language.findByMsgID("percentage work")){
            new Language(msgID:"percentage work",msg:"Percentage work", language:"en").save()
            new Language(msgID:"percentage work",msg:"Procent arbete", language:"sv").save()
        }
        if(!Language.findByMsgID("Phone Number:")){
            new Language(msgID:"Phone Number:",msg:"Phone number:", language:"en").save()
            new Language(msgID:"Phone Number:",msg:"Telefonnummer:", language:"sv").save()
        }
        if(!Language.findByMsgID("Create")){
            new Language(msgID:"Create",msg:"Create", language:"en").save()
            new Language(msgID:"Create",msg:"Skapa", language:"sv").save()
        }
        /*
         *employee show
         *
         **/
        if(!Language.findByMsgID("Show Employee")){
            new Language(msgID:"Show Employee",msg:"Show employee", language:"en").save()
            new Language(msgID:"Show Employee",msg:"Visa anställd", language:"sv").save()
        }
        if(!Language.findByMsgID("Total Assigned Work")){
            new Language(msgID:"Total Assigned Work",msg:"Total Assigned Work", language:"en").save()
            new Language(msgID:"Total Assigned Work",msg:"Totalt tilldelat arbete", language:"sv").save()
        }
        if(!Language.findByMsgID("Date of Birth")){
            new Language(msgID:"Date of Birth",msg:"Date of birth", language:"en").save()
            new Language(msgID:"Date of Birth",msg:"Födelsedatum", language:"sv").save()
        }
        if(!Language.findByMsgID("Address")){
            new Language(msgID:"Address",msg:"Address", language:"en").save()
            new Language(msgID:"Address",msg:"Adress", language:"sv").save()
        }
        if(!Language.findByMsgID("Salary(Month)")){
            new Language(msgID:"Salary(Month)",msg:"Salary(Month)", language:"en").save()
            new Language(msgID:"Salary(Month)",msg:"Månadslön", language:"sv").save()
        }
        if(!Language.findByMsgID("Salary(Year)")){
            new Language(msgID:"Salary(Year)",msg:"Salary(Year)", language:"en").save()
            new Language(msgID:"Salary(Year)",msg:"Årslön", language:"sv").save()
        }
        if(!Language.findByMsgID("Hours Per Year")){
            new Language(msgID:"Hours Per Year",msg:"Hours per year", language:"en").save()
            new Language(msgID:"Hours Per Year",msg:"Timmar per år", language:"sv").save()
        }
        if(!Language.findByMsgID("Hired By")){
            new Language(msgID:"Hired By",msg:"Hired by", language:"en").save()
            new Language(msgID:"Hired By",msg:"Anställd av", language:"sv").save()
        }
        if(!Language.findByMsgID("Active in Project")){
            new Language(msgID:"Active in Project",msg:"Active in project", language:"en").save()
            new Language(msgID:"Active in Project",msg:"Aktiv i projekt", language:"sv").save()
        }
        if(!Language.findByMsgID("Time")){
            new Language(msgID:"Time",msg:"Time", language:"en").save()
            new Language(msgID:"Time",msg:"Tid", language:"sv").save()
        }
        if(!Language.findByMsgID("Apply for another course")){
            new Language(msgID:"Apply for another course",msg:"Apply for another course", language:"en").save()
            new Language(msgID:"Apply for another course",msg:"Ansök till en annan kurs", language:"sv").save()
        }
        if(!Language.findByMsgID("Hours")){
            new Language(msgID:"Hours",msg:"Hours", language:"en").save()
            new Language(msgID:"Hours",msg:"Timmar", language:"sv").save()
        }
        if(!Language.findByMsgID("Person details")){
            new Language(msgID:"Person details",msg:"Person details", language:"en").save()
            new Language(msgID:"Person details",msg:"Personaldata", language:"sv").save()
        }
        if(!Language.findByMsgID("Work details")){
            new Language(msgID:"Work details",msg:"Work details", language:"en").save()
            new Language(msgID:"Work details",msg:"Arbete", language:"sv").save()
        }
        if(!Language.findByMsgID("Department")){
            new Language(msgID:"Department",msg:"Department", language:"en").save()
            new Language(msgID:"Department",msg:"Avdelning", language:"sv").save()
        }
        if(!Language.findByMsgID("Percentage")){
            new Language(msgID:"Percentage",msg:"Percentage", language:"en").save()
            new Language(msgID:"Percentage",msg:"Procent", language:"sv").save()
        }
        if(!Language.findByMsgID("Project details")){
            new Language(msgID:"Project details",msg:"Project details", language:"en").save()
            new Language(msgID:"Project details",msg:"Projektdetaljer", language:"sv").save()
        }
        if(!Language.findByMsgID("Working total(% per year)")){
            new Language(msgID:"Working total(% per year)",msg:"Working total(% per year)", language:"en").save()
            new Language(msgID:"Working total(% per year)",msg:"Arbetar totalt(% per år)", language:"sv").save()
        }
        if(!Language.findByMsgID("Working hours(per year)")){
            new Language(msgID:"Working hours(per year)",msg:"Working hours(per year)", language:"en").save()
            new Language(msgID:"Working hours(per year)",msg:"Arbetstimmar per år", language:"sv").save()
        }
        if(!Language.findByMsgID("Work not assigned")){
            new Language(msgID:"Work not assigned",msg:"Work not assigned", language:"en").save()
            new Language(msgID:"Work not assigned",msg:"Arbete ej tilldelat", language:"sv").save()
        }
        if(!Language.findByMsgID("Hours not assigned")){
            new Language(msgID:"Hours not assigned",msg:"Hours not assigned", language:"en").save()
            new Language(msgID:"Hours not assigned",msg:"Timmar ej tilldelade", language:"sv").save()
        }
        if(!Language.findByMsgID("TOTAL")){
            new Language(msgID:"TOTAL",msg:"TOTAL", language:"en").save()
            new Language(msgID:"TOTAL",msg:"TOTALT", language:"sv").save()
        }
         if(!Language.findByMsgID("Total workload (for current year)")){
            new Language(msgID:"Total workload (for current year)",msg:"Total workload (for current year)", language:"en").save()
            new Language(msgID:"Total workload (for current year)",msg:"Total arbetsbörda (för detta år)", language:"sv").save()
        }
            if(!Language.findByMsgID("Working hours")){
            new Language(msgID:"Working hours",msg:"Working hours", language:"en").save()
            new Language(msgID:"Working hours",msg:"Timmar som arbetar", language:"sv").save()
        }

        //Employee edit
        if(!Language.findByMsgID("Edit Employee")){
            new Language(msgID:"Edit Employee",msg:"Edit employee", language:"en").save()
            new Language(msgID:"Edit Employee",msg:"Redigera anställd", language:"sv").save()
        }
        //Employee list
            if(!Language.findByMsgID("Assigned work")){
            new Language(msgID:"Assigned work",msg:"Assigned work", language:"en").save()
            new Language(msgID:"Assigned work",msg:"Tilldelat arbete", language:"sv").save()
        }
        
        /*
         *project list
         *
         **/
       if(!Language.findByMsgID("Project List")){
            new Language(msgID:"Project List",msg:"Project list", language:"en").save()
            new Language(msgID:"Project List",msg:"Projektlista", language:"sv").save()
       }

       if(!Language.findByMsgID("Activity Id")){
            new Language(msgID:"Activity Id",msg:"Activity Id", language:"en").save()
            new Language(msgID:"Activity Id",msg:"Aktivitets-Id", language:"sv").save()
       }

       if(!Language.findByMsgID("Description")){
            new Language(msgID:"Description",msg:"Description", language:"en").save()
            new Language(msgID:"Description",msg:"Beskrivning", language:"sv").save()
       }
       if(!Language.findByMsgID("Area")){
            new Language(msgID:"Area",msg:"Area", language:"en").save()
            new Language(msgID:"Area",msg:"Avdelning", language:"sv").save()
       }
       if(!Language.findByMsgID("Start Date")){
            new Language(msgID:"Start Date",msg:"Start date", language:"en").save()
            new Language(msgID:"Start Date",msg:"Startdatum", language:"sv").save()
       }
       if(!Language.findByMsgID("End Date")){
            new Language(msgID:"End Date",msg:"End date", language:"en").save()
            new Language(msgID:"End Date",msg:"Slutdatum", language:"sv").save()
       }
       if(!Language.findByMsgID("Current Balance")){
            new Language(msgID:"Current Balance",msg:"Current balance", language:"en").save()
            new Language(msgID:"Current Balance",msg:"Aktuellt saldo", language:"sv").save()
       }
       if(!Language.findByMsgID("Incoming Balance")){
            new Language(msgID:"Incoming Balance",msg:"Incoming balance", language:"en").save()
            new Language(msgID:"Incoming Balance",msg:"Ingående saldo", language:"sv").save()
       }
       if(!Language.findByMsgID("Progressing")){
            new Language(msgID:"Progressing",msg:"Progressing", language:"en").save()
            new Language(msgID:"Progressing",msg:"Pågående", language:"sv").save()
       }
       if(!Language.findByMsgID("Planned")){
            new Language(msgID:"Planned",msg:"Planned", language:"en").save()
            new Language(msgID:"Planned",msg:"Planerat", language:"sv").save()
       }
       if(!Language.findByMsgID("Done")){
            new Language(msgID:"Done",msg:"Done", language:"en").save()
            new Language(msgID:"Done",msg:"Avslutat", language:"sv").save()
       }
       if(!Language.findByMsgID("New Project")){
            new Language(msgID:"New Project",msg:"New project", language:"en").save()
            new Language(msgID:"New Project",msg:"Nytt projekt", language:"sv").save()
       }

       if(!Language.findByMsgID("Prognosis")){
            new Language(msgID:"Prognosis",msg:"Prognosis", language:"en").save()
            new Language(msgID:"Prognosis",msg:"Prognos", language:"sv").save()
       }
       if(!Language.findByMsgID("Project Prognosis")){
            new Language(msgID:"Project Prognosis",msg:"Project prognosis", language:"en").save()
            new Language(msgID:"Project Prognosis",msg:"Projektprognoser", language:"sv").save()
       }
                /*
                 *
                 *project create
                 **/
       if(!Language.findByMsgID("Create Project")){
            new Language(msgID:"Create Project",msg:"Create project", language:"en").save()
            new Language(msgID:"Create Project",msg:"Skapa projekt", language:"sv").save()
       }
                /*
                 *project show
                 *
                 **/
       if(!Language.findByMsgID("Show Project")){
            new Language(msgID:"Show Project",msg:"Show project", language:"en").save()
            new Language(msgID:"Show Project",msg:"Visa projekt", language:"sv").save()
       }
       if(!Language.findByMsgID("Edit")){
            new Language(msgID:"Edit",msg:"Edit", language:"en").save()
            new Language(msgID:"Edit",msg:"Redigera", language:"sv").save()
       }
       if(!Language.findByMsgID("Outgoing Balance")){
            new Language(msgID:"Outgoing Balance",msg:"Outgoing Balance", language:"en").save()
            new Language(msgID:"Outgoing Balance",msg:"Utgående Balans", language:"sv").save()
       }
       if(!Language.findByMsgID("Incomes")){
            new Language(msgID:"Incomes",msg:"Incomes", language:"en").save()
            new Language(msgID:"Incomes",msg:"Inkomster", language:"sv").save()
       }
       if(!Language.findByMsgID("Delete")){
            new Language(msgID:"Delete",msg:"Delete", language:"en").save()
            new Language(msgID:"Delete",msg:"Ta bort", language:"sv").save()
       }
       if(!Language.findByMsgID("Known Incomes")){
            new Language(msgID:"Known Incomes",msg:"Known incomes", language:"en").save()
            new Language(msgID:"Known Incomes",msg:"Kända inkomster", language:"sv").save()
       }
       if(!Language.findByMsgID("Expected Incomes")){
            new Language(msgID:"Expected Incomes",msg:"Expected incomes", language:"en").save()
            new Language(msgID:"Expected Incomes",msg:"Förväntade inkomster", language:"sv").save()
       }
       if(!Language.findByMsgID("Total Incomes")){
            new Language(msgID:"Total Incomes",msg:"Total incomes", language:"en").save()
            new Language(msgID:"Total Incomes",msg:"Totala inkomster", language:"sv").save()
       }
       if(!Language.findByMsgID("Expenditures")){
            new Language(msgID:"Expenditures",msg:"Expenditures", language:"en").save()
            new Language(msgID:"Expenditures",msg:"Utgifter", language:"sv").save()
       }
       if(!Language.findByMsgID("Known Variable cost")){
            new Language(msgID:"Known Variable cost",msg:"Known variable cost", language:"en").save()
            new Language(msgID:"Known Variable cost",msg:"Kända rörliga kostnader", language:"sv").save()
       }
       if(!Language.findByMsgID("Expected Variable cost")){
            new Language(msgID:"Expected Variable cost",msg:"Expected variable cost", language:"en").save()
            new Language(msgID:"Expected Variable cost",msg:"Förväntade rörliga kostnader", language:"sv").save()
       }
       if(!Language.findByMsgID("Fixed Cost")){
            new Language(msgID:"Fixed Cost",msg:"Fixed cost", language:"en").save()
            new Language(msgID:"Fixed Cost",msg:"Fasta kostnader", language:"sv").save()
       }
       if(!Language.findByMsgID("Variable Costs")){
            new Language(msgID:"Variable Costs",msg:"Variable costs", language:"en").save()
            new Language(msgID:"Variable Costs",msg:"Rörliga kostnader", language:"sv").save()
       }
       if(!Language.findByMsgID("Members")){
            new Language(msgID:"Members",msg:"Members", language:"en").save()
            new Language(msgID:"Members",msg:"Medlemmar", language:"sv").save()
       }
       if(!Language.findByMsgID("Salary")){
            new Language(msgID:"Salary",msg:"Salary", language:"en").save()
            new Language(msgID:"Salary",msg:"Lön", language:"sv").save()
       }
       if(!Language.findByMsgID("Hours in project")){
            new Language(msgID:"Hours in project",msg:"Hours in project", language:"en").save()
            new Language(msgID:"Hours in project",msg:"Timmar i projektet", language:"sv").save()
       }
       if(!Language.findByMsgID("Cost")){
            new Language(msgID:"Cost",msg:"Cost", language:"en").save()
            new Language(msgID:"Cost",msg:"Kostnader", language:"sv").save()
       }
       if(!Language.findByMsgID("Add Employee")){
            new Language(msgID:"Add Employee",msg:"Add employee", language:"en").save()
            new Language(msgID:"Add Employee",msg:"Lägg till anställd", language:"sv").save()
       }
         if(!Language.findByMsgID("Total Salary Cost")){
            new Language(msgID:"Total Salary Cost",msg:"Total Salary Cost", language:"en").save()
            new Language(msgID:"Total Salary Cost",msg:"Total Lönekostnad", language:"sv").save()
       }
         if(!Language.findByMsgID("Project Budget")){
            new Language(msgID:"Project Budget",msg:"Project Budget", language:"en").save()
            new Language(msgID:"Project Budget",msg:"Projekt Budget", language:"sv").save()
       }

         if(!Language.findByMsgID("Operation Cost")){
            new Language(msgID:"Operation Cost",msg:"Operation Cost", language:"en").save()
            new Language(msgID:"Operation Cost",msg:"Driftskostnad", language:"sv").save()
       }

        if(!Language.findByMsgID("Total annual salary cost")){
            new Language(msgID:"Total annual salary cost",msg:"Total annual salary cost", language:"en").save()
            new Language(msgID:"Total annual salary cost",msg:"Total årlig lönekostnad", language:"sv").save()
       }

        if(!Language.findByMsgID("Salary cost per year")){
            new Language(msgID:"Salary cost per year",msg:"Salary cost per year", language:"en").save()
            new Language(msgID:"Salary cost per year",msg:"Årlig lönekostnad", language:"sv").save()
       }

        if(!Language.findByMsgID("Employees in project")){
            new Language(msgID:"Employees in project",msg:"Employees in project", language:"en").save()
            new Language(msgID:"Employees in project",msg:"Anställda i projekt", language:"sv").save()
       }

        if(!Language.findByMsgID("Result")){
            new Language(msgID:"Result",msg:"Result", language:"en").save()
            new Language(msgID:"Result",msg:"Resultat", language:"sv").save()
       }

        if(!Language.findByMsgID("Project workload")){
            new Language(msgID:"Project workload",msg:"Project workload", language:"en").save()
            new Language(msgID:"Project workload",msg:"Arbete i projekt", language:"sv").save()
       }
       if(!Language.findByMsgID("Educational workload")){
            new Language(msgID:"Educational workload",msg:"Educational workload", language:"en").save()
            new Language(msgID:"Educational workload",msg:"Undervisning", language:"sv").save()
       }
       if(!Language.findByMsgID("Active in Course")){
            new Language(msgID:"Active in Course",msg:"Active in Course", language:"en").save()
            new Language(msgID:"Active in Course",msg:"Aktiv i kurs", language:"sv").save()
       }

        if(!Language.findByMsgID("Manage Courses")){
            new Language(msgID:"Manage Courses",msg:"Manage Courses", language:"en").save()
            new Language(msgID:"Manage Courses",msg:"Hantera kurser", language:"sv").save()
       }

        if(!Language.findByMsgID("Lock Budget")){
            new Language(msgID:"Lock Budget",msg:"Lock Budget", language:"en").save()
            new Language(msgID:"Lock Budget",msg:"Lås budget", language:"sv").save()
       }
       
        if(!Language.findByMsgID("Total costs")){
            new Language(msgID:"Total costs",msg:"Total costs", language:"en").save()
            new Language(msgID:"Total costs",msg:"Totala kostnader", language:"sv").save()
       }
        



       if(!Language.findByMsgID("Responsible")){
            new Language(msgID:"Responsible",msg:"Responsible", language:"en").save()
            new Language(msgID:"Responsible",msg:"Ansvarig", language:"sv").save()
       }
        if(!Language.findByMsgID("Course")){
            new Language(msgID:"Course",msg:"Course", language:"en").save()
            new Language(msgID:"Course",msg:"Kurs", language:"sv").save()
       }





        if(!Language.findByMsgID("Costs")){
            new Language(msgID:"Costs",msg:"Costs", language:"en").save()
            new Language(msgID:"Costs",msg:"Kostnad", language:"sv").save()
       }


         if(!Language.findByMsgID("Travel Expences")){
            new Language(msgID:"Travel Expences",msg:"Travel Expences", language:"en").save()
            new Language(msgID:"Travel Expences",msg:"Reseutgifter", language:"sv").save()
       }
         if(!Language.findByMsgID("Fees and Rent")){
            new Language(msgID:"Fees and Rent",msg:"Fees and Rent", language:"en").save()
            new Language(msgID:"Fees and Rent",msg:"Avgifter och Hyra", language:"sv").save()
       }
         if(!Language.findByMsgID("IT-related Costs")){
            new Language(msgID:"IT-related Costs",msg:"IT-related Costs", language:"en").save()
            new Language(msgID:"IT-related Costs",msg:"IT-relaterade Kostnader", language:"sv").save()
       }
       if(!Language.findByMsgID("Sum of All Costs")){
            new Language(msgID:"Sum of All Costs",msg:"Sum of All Costs", language:"en").save()
            new Language(msgID:"Sum of All Costs",msg:"Summan av Alla Kostnader", language:"sv").save()
       }


                //Project Edit
       if(!Language.findByMsgID("Edit Project")){
            new Language(msgID:"Edit Project",msg:"Edit project", language:"en").save()
            new Language(msgID:"Edit Project",msg:"Redigera projekt", language:"sv").save()
       }
       if(!Language.findByMsgID("Amount Of Hour")){
            new Language(msgID:"Amount Of Hour",msg:"Amount of hours", language:"en").save()
            new Language(msgID:"Amount Of Hour",msg:"Antal timmar", language:"sv").save()
       }
       if(!Language.findByMsgID("Add Whoa")){
            new Language(msgID:"Add Whoa",msg:"Add Whoa", language:"en").save()
            new Language(msgID:"Add Whoa",msg:"Lägg till", language:"sv").save()
       }
                //main
       if(!Language.findByMsgID("Home")){
            new Language(msgID:"Home",msg:"Home", language:"en").save()
            new Language(msgID:"Home",msg:"Hem", language:"sv").save()
       }
       if(!Language.findByMsgID("Employees")){
            new Language(msgID:"Employees",msg:"Employees", language:"en").save()
            new Language(msgID:"Employees",msg:"Anställda", language:"sv").save()
       }
       if(!Language.findByMsgID("Projects")){
            new Language(msgID:"Projects",msg:"Projects", language:"en").save()
            new Language(msgID:"Projects",msg:"Projekt", language:"sv").save()
       }
       if(!Language.findByMsgID("Budgets")){
            new Language(msgID:"Budgets",msg:"Budgets", language:"en").save()
            new Language(msgID:"Budgets",msg:"Budget", language:"sv").save()
       }
       if(!Language.findByMsgID("Cost")){
            new Language(msgID:"Cost",msg:"Cost", language:"en").save()
            new Language(msgID:"Cost",msg:"Kostnader", language:"sv").save()
       }
       if(!Language.findByMsgID("Areas")){
            new Language(msgID:"Areas",msg:"Areas", language:"en").save()
            new Language(msgID:"Areas",msg:"Avdelningar", language:"sv").save()
       }
       if(!Language.findByMsgID("Log Out")){
            new Language(msgID:"Log Out",msg:"Log out", language:"en").save()
            new Language(msgID:"Log Out",msg:"Logga ut", language:"sv").save()
       }

                //mode button
       if(!Language.findByMsgID("Undo")){
            new Language(msgID:"Undo",msg:"Undo", language:"en").save()
            new Language(msgID:"Undo",msg:"Ångra", language:"sv").save()
       }
       if(!Language.findByMsgID("Save")){
            new Language(msgID:"Save",msg:"Save", language:"en").save()
            new Language(msgID:"Save",msg:"Spara", language:"sv").save()
       }
       if(!Language.findByMsgID("Sandbox mode")){
            new Language(msgID:"Sandbox mode",msg:"Sandbox mode", language:"en").save()
            new Language(msgID:"Sandbox mode",msg:"Sandlådeläge", language:"sv").save()
       }
       if(!Language.findByMsgID("Budget mode")){
            new Language(msgID:"Budget mode",msg:"Budget mode", language:"en").save()
            new Language(msgID:"Budget mode",msg:"Budgetläge", language:"sv").save()
       }
       if(!Language.findByMsgID("Switch to sandbox mode")){
            new Language(msgID:"Switch to sandbox mode",msg:"Switch to sandbox mode", language:"en").save()
            new Language(msgID:"Switch to sandbox mode",msg:"Byt till sandlådeläge", language:"sv").save()
       }
       if(!Language.findByMsgID("Switch to budget mode")){
            new Language(msgID:"Switch to budget mode",msg:"Switch to budget mode", language:"en").save()
            new Language(msgID:"Switch to budget mode",msg:"Byt till budgetläge", language:"sv").save()
       }
                //budget list
                //budget create
       if(!Language.findByMsgID("Help")){
            new Language(msgID:"Help",msg:"Help", language:"en").save()
            new Language(msgID:"Help",msg:"Hjälp", language:"sv").save()
       }
                //Courses
       if(!Language.findByMsgID("Help")){
            new Language(msgID:"Help",msg:"Help", language:"en").save()
            new Language(msgID:"Help",msg:"Hjälp", language:"sv").save()
       }
       if(!Language.findByMsgID("Course Code")){
            new Language(msgID:"Course Code",msg:"Course code", language:"en").save()
            new Language(msgID:"Course Code",msg:"Kurskod", language:"sv").save()
       }
       if(!Language.findByMsgID("Level")){
            new Language(msgID:"Level",msg:"Level", language:"en").save()
            new Language(msgID:"Level",msg:"Nivå", language:"sv").save()
       }
       if(!Language.findByMsgID("Date")){
            new Language(msgID:"Date",msg:"Date", language:"en").save()
            new Language(msgID:"Date",msg:"Datum", language:"sv").save()
       }
       if(!Language.findByMsgID("Start Hour")){
            new Language(msgID:"Start Hour",msg:"Start hour", language:"en").save()
            new Language(msgID:"Start Hour",msg:"Starttid", language:"sv").save()
       }
       if(!Language.findByMsgID("End Hour")){
            new Language(msgID:"End Hour",msg:"End hour", language:"en").save()
            new Language(msgID:"End Hour",msg:"Sluttid", language:"sv").save()
       }
       if(!Language.findByMsgID("Seats")){
            new Language(msgID:"Seats",msg:"Seats", language:"en").save()
            new Language(msgID:"Seats",msg:"Platser", language:"sv").save()
       }
       if(!Language.findByMsgID("Create Course")){
            new Language(msgID:"Create Course",msg:"Create course", language:"en").save()
            new Language(msgID:"Create Course",msg:"Ny kurs", language:"sv").save()
       }
       if(!Language.findByMsgID("Course Details")){
            new Language(msgID:"Course Details",msg:"Course details", language:"en").save()
            new Language(msgID:"Course Details",msg:"Kursdetaljer", language:"sv").save()
       }
       if(!Language.findByMsgID("Remove Employee")){
            new Language(msgID:"Remove Employee",msg:"Remove employee", language:"en").save()
            new Language(msgID:"Remove Employee",msg:"Ta bort anställd", language:"sv").save()
       }
       if(!Language.findByMsgID("Delete Employee from Project")){
            new Language(msgID:"Delete Employee from Project",msg:"Delete employee from project", language:"en").save()
            new Language(msgID:"Delete Employee from Project",msg:"Ta bort anställd från projekt", language:"sv").save()
       }
       if(!Language.findByMsgID("Add Employee to Project")){
            new Language(msgID:"Add Employee to Project",msg:"Add employee to project", language:"en").save()
            new Language(msgID:"Add Employee to Project",msg:"Lägg till anställd till projekt", language:"sv").save()
       }
       if(!Language.findByMsgID("Add")){
            new Language(msgID:"Add",msg:"Add", language:"en").save()
            new Language(msgID:"Add",msg:"Lägg till", language:"sv").save()
       }
       if(!Language.findByMsgID("Add Employee to Course")){
            new Language(msgID:"Add Employee to Course",msg:"Add employee to course", language:"en").save()
            new Language(msgID:"Add Employee to Course",msg:"Lägg till anställd till kurs", language:"sv").save()
       }
       if(!Language.findByMsgID("Course List")){
            new Language(msgID:"Course List",msg:"Course list", language:"en").save()
            new Language(msgID:"Course List",msg:"Kurslista", language:"sv").save()
       }
       if(!Language.findByMsgID("Show Help")){
            new Language(msgID:"Show Help",msg:"Show help", language:"en").save()
            new Language(msgID:"Show Help",msg:"Visa hjälp", language:"sv").save()
       }
       if(!Language.findByMsgID("Print this page")){
            new Language(msgID:"Print this page",msg:"Print this page", language:"en").save()
            new Language(msgID:"Print this page",msg:"Skriv ut", language:"sv").save()
       }
       if(!Language.findByMsgID("Close window")){
            new Language(msgID:"Close window",msg:"Close window", language:"en").save()
            new Language(msgID:"Close window",msg:"Stäng", language:"sv").save()
       }
       if(!Language.findByMsgID("Administrative Overhead")){
            new Language(msgID:"Administrative Overhead",msg:"Administrative overhead", language:"en").save()
            new Language(msgID:"Administrative Overhead",msg:"Administrationspåslag", language:"sv").save()
       }
       if(!Language.findByMsgID("Facilities")){
            new Language(msgID:"Facilities",msg:"Facilities", language:"en").save()
            new Language(msgID:"Facilities",msg:"Lokaler", language:"sv").save()
       }
       if(!Language.findByMsgID("Litterature")){
            new Language(msgID:"Litterature",msg:"Literature", language:"en").save()
            new Language(msgID:"Litterature",msg:"Litteratur", language:"sv").save()
       }
       if(!Language.findByMsgID("Materials")){
            new Language(msgID:"Materials",msg:"Materials", language:"en").save()
            new Language(msgID:"Materials",msg:"Material", language:"sv").save()
       }
       if(!Language.findByMsgID("Other")){
            new Language(msgID:"Other",msg:"Other", language:"en").save()
            new Language(msgID:"Other",msg:"Övrigt", language:"sv").save()
       }
       if(!Language.findByMsgID("Travel")){
            new Language(msgID:"Travel",msg:"Travel", language:"en").save()
            new Language(msgID:"Travel",msg:"Resor", language:"sv").save()
       }
       if(!Language.findByMsgID("Basic")){
            new Language(msgID:"Basic",msg:"Basic", language:"en").save()
            new Language(msgID:"Basic",msg:"Grundläggande", language:"sv").save()
       }
       if(!Language.findByMsgID("Advanced")){
            new Language(msgID:"Advanced",msg:"Advanced", language:"en").save()
            new Language(msgID:"Advanced",msg:"Avancerad", language:"sv").save()
       }
       if(!Language.findByMsgID("Administrator")){
            new Language(msgID:"Administrator",msg:"Administrator", language:"en").save()
            new Language(msgID:"Administrator",msg:"Administratör", language:"sv").save()
       }
       if(!Language.findByMsgID("Schedules")){
            new Language(msgID:"Schedules",msg:"Schedules", language:"en").save()
            new Language(msgID:"Schedules",msg:"Schema", language:"sv").save()
       }
       if(!Language.findByMsgID("Teachers")){
            new Language(msgID:"Teachers",msg:"Teachers", language:"en").save()
            new Language(msgID:"Teachers",msg:"Lärare", language:"sv").save()
       }
       if(!Language.findByMsgID("Participants")){
            new Language(msgID:"Participants",msg:"Participants", language:"en").save()
            new Language(msgID:"Participants",msg:"Detagare", language:"sv").save()
       }
       if(!Language.findByMsgID("Edit Course")){
            new Language(msgID:"Edit Course",msg:"Edit course", language:"en").save()
            new Language(msgID:"Edit Course",msg:"Redigera kurs", language:"sv").save()
       }
       if(!Language.findByMsgID("Location")){
            new Language(msgID:"Location",msg:"Location", language:"en").save()
            new Language(msgID:"Location",msg:"Lokal", language:"sv").save()
       }
       if(!Language.findByMsgID("Teacher responsible")){
            new Language(msgID:"Teacher responsible",msg:"Teacher responsible", language:"en").save()
            new Language(msgID:"Teacher responsible",msg:"Ansvarig lärare", language:"sv").save()
       }
       if(!Language.findByMsgID("Responsible")){
            new Language(msgID:"Responsible",msg:"Responsible", language:"en").save()
            //new Language(msgID:"Teacher responsible",msg:"Plats", language:"sv").save()
       }
       if(!Language.findByMsgID("Create schedule for the course")){
            new Language(msgID:"Create schedule for the course",msg:"Create schedule for the course", language:"en").save()
            new Language(msgID:"Create schedule for the course",msg:"Skapa schema för kursen", language:"sv").save()
       }
       if(!Language.findByMsgID("Budget Unlocked")){
            new Language(msgID:"Budget Unlocked",msg:"Budget unlocked", language:"en").save()
            new Language(msgID:"Budget Unlocked",msg:"Budget upplåst", language:"sv").save()
       }
       if(!Language.findByMsgID("Budget Unlocked")){
            new Language(msgID:"Budget Unlocked",msg:"Budget unlocked", language:"en").save()
            new Language(msgID:"Budget Unlocked",msg:"Budget upplåst", language:"sv").save()
       }
       if(!Language.findByMsgID("Budget Locked")){
            new Language(msgID:"Budget Locked",msg:"Budget locked", language:"en").save()
            new Language(msgID:"Budget Locked",msg:"Budget låst", language:"sv").save()
       }
       if(!Language.findByMsgID("Unlock Budget")){
            new Language(msgID:"Unlock Budget",msg:"Unlock budget", language:"en").save()
            new Language(msgID:"Unlock Budget",msg:"Lås upp budget", language:"sv").save()
       }
       if(!Language.findByMsgID("List Courses")){
            new Language(msgID:"List Courses",msg:"List Courses", language:"en").save()
            new Language(msgID:"List Courses",msg:"Lista kurser", language:"sv").save()
       }
       if(!Language.findByMsgID("List Employees")){
            new Language(msgID:"List Employees",msg:"List employees", language:"en").save()
            new Language(msgID:"List Employees",msg:"Lista anställda", language:"sv").save()
       }
       if(!Language.findByMsgID("List Projects")){
            new Language(msgID:"List Projects",msg:"List projects", language:"en").save()
            new Language(msgID:"List Projects",msg:"Lista projekt", language:"sv").save()
       }
       if(!Language.findByMsgID("New Area")){
            new Language(msgID:"New Area",msg:"New area", language:"en").save()
            new Language(msgID:"New Area",msg:"Ny avdelning", language:"sv").save()
       }
       if(!Language.findByMsgID("New Access")){
            new Language(msgID:"New Access",msg:"New access", language:"en").save()
            new Language(msgID:"New Access",msg:"Ny åtkomst", language:"sv").save()
       }
       if(!Language.findByMsgID("List Areas")){
            new Language(msgID:"List Areas",msg:"List areas", language:"en").save()
            new Language(msgID:"List Areas",msg:"Lista avdelningar", language:"sv").save()
       }
       if(!Language.findByMsgID("List Access")){
            new Language(msgID:"List Access",msg:"List access", language:"en").save()
            new Language(msgID:"List Access",msg:"Lista åtkomst", language:"sv").save()
       }
       if(!Language.findByMsgID("Manage Areas")){
            new Language(msgID:"Manage Areas",msg:"Manage areas", language:"en").save()
            new Language(msgID:"Manage Areas",msg:"Hantera avdelningar", language:"sv").save()
       }
       if(!Language.findByMsgID("Manage Access")){
            new Language(msgID:"Manage Access",msg:"Manage access", language:"en").save()
            new Language(msgID:"Manage Access",msg:"Hantera åtkomst", language:"sv").save()
       }
       if(!Language.findByMsgID("Manage Projects")){
            new Language(msgID:"Manage Projects",msg:"Manage projects", language:"en").save()
            new Language(msgID:"Manage Projects",msg:"Hantera projekt", language:"sv").save()
       }
       if(!Language.findByMsgID("Detailed expected variable costs")){
            new Language(msgID:"Detailed expected variable costs",msg:"Detailed expected variable costs", language:"en").save()
            new Language(msgID:"Detailed expected variable costs",msg:"Detaljerade förväntade rörliga kostnader", language:"sv").save()
       }
       if(!Language.findByMsgID("Sum of detailed expected variable costs")){
            new Language(msgID:"Sum of detailed expected variable costs",msg:"Sum of detailed expected variable costs", language:"en").save()
            new Language(msgID:"Sum of detailed expected variable costs",msg:"Summan av detaljerade förväntade rörliga kostnader", language:"sv").save()
       }
       if(!Language.findByMsgID("Total variable cost")){
            new Language(msgID:"Total variable cost",msg:"Total variable cost", language:"en").save()
            new Language(msgID:"Total variable cost",msg:"Total rörlig kostnad", language:"sv").save()
       }
       if(!Language.findByMsgID("Total workload")){
            new Language(msgID:"Total workload",msg:"Total workload", language:"en").save()
            new Language(msgID:"Total workload",msg:"Total arbetstid", language:"sv").save()
       }
       if(!Language.findByMsgID("Board Name")){
            new Language(msgID:"Board Name",msg:"Board name", language:"en").save()
            new Language(msgID:"Board Name",msg:"Styrelse", language:"sv").save()
       }
       if(!Language.findByMsgID("Total balance")){
            new Language(msgID:"Total balance",msg:"Total balance", language:"en").save()
            new Language(msgID:"Total balance",msg:"Totalt balans", language:"sv").save()
       }
       if(!Language.findByMsgID("Balance")){
            new Language(msgID:"Balance",msg:"Balance", language:"en").save()
            new Language(msgID:"Balance",msg:"Saldo", language:"sv").save()
       }
       if(!Language.findByMsgID("Application")){
            new Language(msgID:"Application",msg:"Application", language:"en").save()
            new Language(msgID:"Application",msg:"Ansökan", language:"sv").save()
       }
       if(!Language.findByMsgID("(format: yymmddxxxx)")){
            new Language(msgID:"(format: yymmddxxxx)",msg:"(format: yymmddxxxx)", language:"en").save()
            new Language(msgID:"(format: yymmddxxxx)",msg:"(format: ååmmddxxxx)", language:"sv").save()
       }
       // Pop-up on hover; Employee
       if(!Language.findByMsgID("employee_employeeId_hover")){
            new Language(msgID:"employee_employeeId_hover",msg:"Enter the civic number of the employee", language:"en").save()
            new Language(msgID:"employee_employeeId_hover",msg:"Mata in den anställdes personnummer", language:"sv").save()
       }
       if(!Language.findByMsgID("course_create_hover")){
            new Language(msgID:"course_create_hover",msg:"Assign a unique value for the course", language:"en").save()
            new Language(msgID:"course_create_hover",msg:"Tilldela kursen en unik kurskod", language:"sv").save()
       }
       if(!Language.findByMsgID("employee_hiredBy_hover")){
            new Language(msgID:"employee_hiredBy_hover",msg:"Choose the unit that the employee belongs to", language:"en").save()
            new Language(msgID:"employee_hiredBy_hover",msg:"Välj den avdelning som den anställde tillhör", language:"sv").save()
       }
       if(!Language.findByMsgID("employee_title_hover")){
            new Language(msgID:"employee_title_hover",msg:"Enter the employee's title, for example Professor or Doctor", language:"en").save()
            new Language(msgID:"employee_title_hover",msg:"Mata in den anställdes titel, till exempel Professor eller Doktorand", language:"sv").save()
       }
       if(!Language.findByMsgID("employee_percentageWork_hover")){
            new Language(msgID:"employee_percentageWork_hover",msg:"If the monthly working time of the employee is less than the standard amount, enter the percentage here", language:"en").save()
            new Language(msgID:"employee_percentageWork_hover",msg:"Om den anställdes månatliga arbetstid är lägre än standard, ange den arbetade tiden i procent här", language:"sv").save()
       }
       if(!Language.findByMsgID("")){
            new Language(msgID:"",msg:"", language:"en").save()
            new Language(msgID:"",msg:"", language:"sv").save()
       }
       if(!Language.findByMsgID("Add note")){
            new Language(msgID:"Add note",msg:"Add note", language:"en").save()
            new Language(msgID:"Add note",msg:"Lägg till anteckning", language:"sv").save()
       }
       if(!Language.findByMsgID("Responsible")){
            new Language(msgID:"Responsible",msg:"Responsible", language:"en").save()
            new Language(msgID:"Responsible",msg:"Ansvarig", language:"sv").save()
       }
       if(!Language.findByMsgID("Notes")){
            new Language(msgID:"Notes",msg:"Notes", language:"en").save()
            new Language(msgID:"Notes",msg:"Anteckningar", language:"sv").save()
       }
       if(!Language.findByMsgID("Create access")){
            new Language(msgID:"Create access",msg:"Create access", language:"en").save()
            new Language(msgID:"Create access",msg:"Skapa åtkomst", language:"sv").save()
       }
       if(!Language.findByMsgID("Role")){
            new Language(msgID:"Role",msg:"Role", language:"en").save()
            new Language(msgID:"Role",msg:"Roll", language:"sv").save()
       }
       if(!Language.findByMsgID("Create area")){
            new Language(msgID:"Create area",msg:"Create area", language:"en").save()
            new Language(msgID:"Create area",msg:"Skapa avdelning", language:"sv").save()
       }
       if(!Language.findByMsgID("Edit area")){
            new Language(msgID:"Edit area",msg:"Edit area", language:"en").save()
            new Language(msgID:"Edit area",msg:"Redigera avdelning", language:"sv").save()
       }
       if(!Language.findByMsgID("Area id")){
            new Language(msgID:"Area id",msg:"Area id", language:"en").save()
            new Language(msgID:"Area id",msg:"Avdelningsid", language:"sv").save()
       }
       if(!Language.findByMsgID("Area list")){
            new Language(msgID:"Area list",msg:"Area list", language:"en").save()
            new Language(msgID:"Area list",msg:"Avdelningslista", language:"sv").save()
       }
       if(!Language.findByMsgID("New area")){
            new Language(msgID:"New area",msg:"New area", language:"en").save()
            new Language(msgID:"New area",msg:"Ny avdelning", language:"sv").save()
       }
       if(!Language.findByMsgID("Show area")){
            new Language(msgID:"Show area",msg:"Show area", language:"en").save()
            new Language(msgID:"Show area",msg:"Visa avdelning", language:"sv").save()
       }
       if(!Language.findByMsgID("Borrows")){
            new Language(msgID:"Borrows",msg:"Borrows", language:"en").save()
            new Language(msgID:"Borrows",msg:"Lånar", language:"sv").save()
       }
       if(!Language.findByMsgID("Courses")){
            new Language(msgID:"Courses",msg:"Courses", language:"en").save()
            new Language(msgID:"Courses",msg:"Kurser", language:"sv").save()
       }
       if(!Language.findByMsgID("Projects")){
            new Language(msgID:"Projects",msg:"Projects", language:"en").save()
            new Language(msgID:"Projects",msg:"Projekt", language:"sv").save()
       }
       if(!Language.findByMsgID("Employed")){
            new Language(msgID:"Employed",msg:"Employed", language:"en").save()
            new Language(msgID:"Employed",msg:"Anställd", language:"sv").save()
       }
       if(!Language.findByMsgID("No courses are available")){
            new Language(msgID:"No courses are available",msg:"No courses are available", language:"en").save()
            new Language(msgID:"No courses are available",msg:"Inga kurser är tillgängliga", language:"sv").save()
       }
       if(!Language.findByMsgID("You have already applied for all schedules in this course!")){
            new Language(msgID:"You have already applied for all schedules in this course!",msg:"You have already applied for all schedules in this course!", language:"en").save()
            new Language(msgID:"You have already applied for all schedules in this course!",msg:"Du har redan anmält dig till alla scheman i denna kurs!", language:"sv").save()
       }
       if(!Language.findByMsgID("Faculty")){
            new Language(msgID:"Faculty",msg:"Faculty", language:"en").save()
            new Language(msgID:"Faculty",msg:"Fakultet", language:"sv").save()
       }
       if(!Language.findByMsgID("You have successfully applied for the course")){
            new Language(msgID:"You have successfully applied for the course",msg:"You have successfully applied for the course", language:"en").save()
            new Language(msgID:"You have successfully applied for the course",msg:"Du har ansökt till kursen", language:"sv").save()
       }
       if(!Language.findByMsgID("Application finished")){
            new Language(msgID:"Application finished",msg:"Application finished", language:"en").save()
            new Language(msgID:"Application finished",msg:"Ansökan klar", language:"sv").save()
       }
       if(!Language.findByMsgID("Recipient account number")){
            new Language(msgID:"Recipient account number",msg:"Recipient account number", language:"en").save()
            new Language(msgID:"Recipient account number",msg:"Mottagares kontonummer", language:"sv").save()
       }
       if(!Language.findByMsgID("Billing address")){
            new Language(msgID:"Billing address",msg:"Billing address", language:"en").save()
            new Language(msgID:"Billing address",msg:"Fakturaadress", language:"sv").save()
       }
       if(!Language.findByMsgID("Note")){
            new Language(msgID:"Note",msg:"Note", language:"en").save()
            new Language(msgID:"Note",msg:"Anteckning", language:"sv").save()
       }
       if(!Language.findByMsgID("Year")){
            new Language(msgID:"Year",msg:"Year", language:"en").save()
            new Language(msgID:"Year",msg:"År", language:"sv").save()
       }
       if(!Language.findByMsgID("Back to course")){
            new Language(msgID:"Back to course",msg:"Back to course", language:"en").save()
            new Language(msgID:"Back to course",msg:"Tillbaka till kursen", language:"sv").save()
       }
       if(!Language.findByMsgID("Create a note for the course")){
            new Language(msgID:"Create a note for the course",msg:"Create a note for the course", language:"en").save()
            new Language(msgID:"Create a note for the course",msg:"Skapa en anteckning för kursen", language:"sv").save()
       }
       if(!Language.findByMsgID("Show note")){
            new Language(msgID:"Show note",msg:"Show note", language:"en").save()
            new Language(msgID:"Show note",msg:"Visa anteckning", language:"sv").save()
       }
        if(!Language.findByMsgID("Edit note")){
            new Language(msgID:"Edit note",msg:"Edit note", language:"en").save()
            new Language(msgID:"Edit note",msg:"Redigera anteckning", language:"sv").save()
       }
       if(!Language.findByMsgID("Note list")){
            new Language(msgID:"Note list",msg:"Note list", language:"en").save()
            new Language(msgID:"Note list",msg:"Anteckningslista", language:"sv").save()
       }
       if(!Language.findByMsgID("Connected as")){
            new Language(msgID:"Connected as",msg:"Connected as", language:"en").save()
            new Language(msgID:"Connected as",msg:"Ansluten som", language:"sv").save()
       }
       if(!Language.findByMsgID("Not connected")){
            new Language(msgID:"Not connected",msg:"Not connected", language:"en").save()
            new Language(msgID:"Not connected",msg:"Ej ansluten", language:"sv").save()
       }
       if(!Language.findByMsgID("Hired by area")){
            new Language(msgID:"Hired by area",msg:"Hired by area", language:"en").save()
            new Language(msgID:"Hired by area",msg:"Anställd av avdelning", language:"sv").save()
       }
       if(!Language.findByMsgID("Delete employee from course")){
            new Language(msgID:"Delete employee from course",msg:"Delete employee from course", language:"en").save()
            new Language(msgID:"Delete employee from course",msg:"Ta bort anställd från kurs", language:"sv").save()
       }
       if(!Language.findByMsgID("Goal")){
            new Language(msgID:"Goal",msg:"Goal", language:"en").save()
            new Language(msgID:"Goal",msg:"Mål", language:"sv").save()
       }
       if(!Language.findByMsgID("Create schedule")){
            new Language(msgID:"Create schedule",msg:"Create schedule", language:"en").save()
            new Language(msgID:"Create schedule",msg:"Skapa schema", language:"sv").save()
       }
       if(!Language.findByMsgID("New Course")){
            new Language(msgID:"New Course",msg:"New course", language:"en").save()
            new Language(msgID:"New Course",msg:"Ny kurs", language:"sv").save()
       }
       if(!Language.findByMsgID("Manage Employees")){
            new Language(msgID:"Manage Employees",msg:"Manage employees", language:"en").save()
            new Language(msgID:"Manage Employees",msg:"Hantera anställda", language:"sv").save()
       }
       if(!Language.findByMsgID("Manage Projects")){
            new Language(msgID:"Manage Projects",msg:"Manage projects", language:"en").save()
            new Language(msgID:"Manage Projects",msg:"Hantera projekt", language:"sv").save()
       }
       if(!Language.findByMsgID("Schedule")){
            new Language(msgID:"Schedule",msg:"Schedule", language:"en").save()
            new Language(msgID:"Schedule",msg:"Schema", language:"sv").save()
       }
       if(!Language.findByMsgID("Edit schedule for course")){
            new Language(msgID:"Edit schedule for course",msg:"Edit schedule for course", language:"en").save()
            new Language(msgID:"Edit schedule for course",msg:"Ändra schema för kurs", language:"sv").save()
       }
       if(!Language.findByMsgID("Civic number")){
            new Language(msgID:"Civic number",msg:"Civic number", language:"en").save()
            new Language(msgID:"Civic number",msg:"Personnummer", language:"sv").save()
       }
       if(!Language.findByMsgID("Total fixed cost")){
            new Language(msgID:"Total fixed cost",msg:"Total fixed cost", language:"en").save()
            new Language(msgID:"Total fixed cost",msg:"Totala fasta kostnader", language:"sv").save()
       }
       if(!Language.findByMsgID("employee_salary_hover")){
            new Language(msgID:"employee_salary_hover",msg:"Salary should include general payroll tax and social-security contribution", language:"en").save()
            new Language(msgID:"employee_salary_hover",msg:"Lön är inklusive arbetsgivaravgifter och sociala avgifter", language:"sv").save()
       }

         /*if(!Language.findByMsgID("")){
            new Language(msgID:"",msg:"", language:"en").save()
            new Language(msgID:"",msg:"", language:"sv").save()
        }*/

        //flashmessage

        if(!Language.findByMsgID("Changes Saved")){
            new Language(msgID:"Changes Saved",msg:"Changes saved!", language:"en").save()
            new Language(msgID:"Changes Saved",msg:"Ändringarna sparade!", language:"sv").save()
       }
       if(!Language.findByMsgID("Changes Cancelled")){
            new Language(msgID:"Changes Cancelled",msg:"Changes Cancelled!", language:"en").save()
            new Language(msgID:"Changes Cancelled",msg:"Ändringarna ångrade!", language:"sv").save()
       }
       if(!Language.findByMsgID("Mode Changed")){
            new Language(msgID:"Mode Changed",msg:"Mode changed!", language:"en").save()
            new Language(msgID:"Mode Changed",msg:"Läget ändrat!", language:"sv").save()
       }

        //Costcategorys
         if(!CostCategory.findByName("Administrative Overhead")){
             new CostCategory(name:"Administrative Overhead").save()
         }
         if(!CostCategory.findByName("Litterature")){
             new CostCategory(name:"Litterature").save()
         }
         if(!CostCategory.findByName("Travel")){
             new CostCategory(name:"Travel").save()
         }
         if(!CostCategory.findByName("Materials")){
             new CostCategory(name:"Materials").save()
         }
         if(!CostCategory.findByName("Facilities")){
             new CostCategory(name:"Facilities").save()
         }
         if(!CostCategory.findByName("Other")){
             new CostCategory(name:"Other").save()
         }


     }
     def destroy = {
     }
}
